<template>
  <BasicContainer>
    <h2>实现设计稿内容，请参考如下API的返回值</h2>
    <img src="../static/demo.png" alt="">
    <h2>/api/comment/list参考返回值</h2>
    <pre>
      {{response}}
    </pre>
  </BasicContainer>
</template>

<script>
import BasicContainer from '@/components/BasicContainer';
export default {
  name: 'Home',
  components: {
    BasicContainer
  },
  data() {
    return {
        response: ''
      }
  },
  async mounted() {
    const response = await this.$http.get('http://douyin.bytedance.com/api/comment/list')
    this.response = response.data
  }
}
</script>
